What is Couchbase MCP Server?
Couchbase MCP Server is an implementation of the Model Context Protocol (MCP) that allows large language models (LLMs) to interact directly with Couchbase clusters, enabling natural language queries and CRUD operations on documents.
How to use Couchbase MCP Server?
To use the Couchbase MCP Server, clone the repository from GitHub, configure the server with your Couchbase connection details, and connect it to an MCP client like Claude Desktop or Cursor to perform operations.
Key features of Couchbase MCP Server?
- Retrieve a list of scopes and collections in a specified bucket.
- Access the structure of a collection.
- Perform CRUD operations on documents by ID.
- Execute SQL++ queries on specified scopes.
- Support for Streamable-HTTP & Server-Sent Events (SSE) transport mode.
Use cases of Couchbase MCP Server?
- Integrating LLMs with Couchbase for natural language data queries.
- Automating document management tasks in Couchbase using LLMs.
- Enhancing data retrieval processes through natural language interfaces.
FAQ from Couchbase MCP Server?
-
What are the prerequisites for using Couchbase MCP Server?
You need Python 3.10 or higher, a running Couchbase cluster, and an MCP client like Claude Desktop or Cursor. -
Can I run Couchbase MCP Server in Docker?
Yes, the server can be built and run as a Docker container with prebuilt images available on DockerHub. -
What should I do if I encounter issues?
Check the logs for errors, verify your configuration settings, and ensure your Couchbase cluster is accessible.
Server Config
{
"mcpServers": {
"couchbase": {
"command": "uvx",
"args": [
"couchbase-mcp-server"
],
"env": {
"CB_CONNECTION_STRING": "couchbases://connection-string",
"CB_USERNAME": "username",
"CB_PASSWORD": "password",
"CB_BUCKET_NAME": "bucket_name"
}
}
}
}